<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.Date"%>
<%@page import="cn.ainit.sys.menu.SessionCont"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<jsp:useBean id="now" class="java.util.Date" scope="page" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet"
			href="${pageContext.request.contextPath}/css/ainit.css"
			type="text/css"></link>
		<link rel="stylesheet" href="../printCss/print.css" type="text/css"></link>
		<link rel="stylesheet" type="text/css"
			href="${pageContext.request.contextPath}/sysPrint/printCss/print.css" />
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery-1.4.4.min.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.easyui.min.1.2.2.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.json-2.4.min.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.ainit-1.0.0.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/jquery.ainit-1.1.0.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/model.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/perlize.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/save.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/initPage.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/sysReport/report.js"></script>

		<script type="text/javascript">
	$(function() {
		$("#dotted :last ").remove()
	});
</script>
        <script type="text/javascript">
        window.onload=function name(){
          window.print();
          window.close();
    }
     </script> 
		<style type="text/css">
table {
	border-collapse: collapse;
	text-align: center;
}
body {
	padding-right:25px;
	padding-left: 15px;
}

#font-bodykt td,th,strong {
	font-family: '楷体';
	font-size: 14px;
}
</style>
	</head>
	<body id="font-bodykt">
		<table cellpadding="0px" cellspacing="0px" width="730px" border="0">
			<tr>
				<th colspan="40" style="font-size: 22px">
					${Company.COM_PRINTNAME}综合费用单
				</th>
			</tr>
		</table>
		<table width="730px">
			<tr>
				<td style="width: 30%"></td>
				<td style="width: 20%"></td>
				<td style="width: 30%"></td>
				<td style="width: 20%"></td>
			</tr>
			<tr>
				<td>
				</td>
				<td>
					<strong>打印日期</strong>
				</td>
				<td style="text-align: left;">
					<fmt:formatDate value="${now}" pattern="yyyy-MM-dd hh:mm:ss" />
				</td>
				<td>
				</td>
			</tr>
		</table>
		<table width="730px">
			<tr>
				<td style="width: 18%"></td>
				<td style="width: 15%"></td>
				<td style="width: 18%"></td>
				<td style="width: 16%"></td>
				<td style="width: 17%"></td>
				<td style="width: 16%"></td>
			</tr>
			<tr height="25" style="line-height: 20px">
				<td>
					<strong>填表人:&nbsp;</strong>
				</td>
				<td>
					<strong>${data.INPUT_MANER }</strong>
				</td>
				<td>
					<strong>部门:</strong>
				</td>
				<td>
					<strong>${data.BUMEN }</strong>
				</td>
				<td>
					<strong>单据号:</strong>
				</td>
				<td>
					<strong>${data.DJ_CODE}&nbsp;</strong>
				</td>
			</tr>
		</table>



		<table cellpadding="0px" cellspacing="0px" width="730px" border="1" style="border: 1px solid black;">

			<tr height="25">
				<td style="width: 17%">
					付款对象
				</td>
				<td style="width: 15%">
					${data.MAN_BUSINESSES }&nbsp;
				</td>
				<td style="width: 18%">
					费用名称
				</td>
				<td style="width: 16%">
					${data.SUB3 }&nbsp;
				</td>

				<td style="width: 18%">
					选题名称
				</td>
				<td style="width: 16%">
					${data.XT_NAME }&nbsp;
				</td>
			</tr>

			<tr>
				<td>
					产品经理
				</td>
				<td>
					${data.ZEREN_BIANJIER }&nbsp;
				</td>
				<td>
					录单日期
				</td>
				<td>
					${data.INPUT_DATE }&nbsp;
				</td>
				<td>
					最迟付款日期
				</td>
				<td>

					${data.LAST_PAY_DATE}&nbsp;
				</td>
			</tr>

			<tr>
				<td>
					费用金额（小写）
				</td>
				<td>
					￥${data.REAL_MONEY}&nbsp;
				</td>
				<td>
					费用金额（大写）
				</td>
				<td colspan="3">
					${data.BIG_MONEY }&nbsp;
				</td>
			</tr>


			<tr height="50">
				<td>
					付款单事项
				</td>
				<td colspan="5">
					${data.MEMO }&nbsp;
				</td>
			</tr>

			<tr>
				<td>
					二级科目
				</td>
				<td>
					${data.SB2 }&nbsp;
				</td>
				<td>
					类型
				</td>
				<td>
					${data.SUB1 }&nbsp;
				</td>
				<td>
					户名
				</td>
				<td>
					${data.ACCOUNT_NAME}&nbsp;
				</td>
			</tr>

			<tr height="20">
				<td>
					收款方银行账号
				</td>
				<td colspan="5">
					${data.BANK_NO }&nbsp;
				</td>
			</tr>
			<tr height="20">
				<td>
					收款方银行
				</td>
				<td colspan="5">
					${data.BANK_NAME}&nbsp;
				</td>
			</tr>

			<tr height="30">
				<td>
					备注
				</td>

				<td colspan="5" >

				</td>
			</tr>
		</table>





		<table cellpadding="0px" cellspacing="0px" width="730px" border="0">
			<tr>
				<td style="width: 10%"></td>
				<td style="width: 13%"></td>
				<td style="width: 11%"></td>
				<td style="width: 11%"></td>
				<td style="width: 13%"></td>
				<td style="width: 8%"></td>
				<td style="width: 10%"></td>
				<td style="width: 8%"></td>
				<td style="width: 8%"></td>
				<td style="width: 8%"></td>
			</tr>
			<tr>
				<td>
					总裁签批:
				</td>
				<td>
					&nbsp;
				</td>
				<td>
					财务部审核:
				</td>
				<td>
					&nbsp;
				</td>
				<td>
					分管领导审批:
				</td>
				<td>
					${data.VERIFY_MANER }
				</td>
				<td>
					项目经理:
				</td>
				<td>
					&nbsp;
				</td>
				<td>
					出纳:
				</td>
				<td>
					&nbsp;
				</td>
			</tr>
		</table>
	</body>
</html>